class CreatePurchases < ActiveRecord::Migration
  def self.up
    create_table :purchases do |t|
      t.column :date, :date
      t.column :by, :string
      t.column :from, :string
    end
  end

  def self.down
    drop_table :purchases
  end
end
